from django.shortcuts import render

# Create your views here.
#python函数
from django.http import HttpResponse
from django.http import HttpResponse
#希望用户输入http://127.0.0.1:8000/index/

def index(request):
    #return  HttpResponse("OK")
    context = {'name': '11'}
    return render(request, 'book/index.html',context=context)